Enable Maintenance Mode on SLX Devices

You can enable maintenance mode on the SLX devices that XCO manages.

About this task

By default, XCO performs Drift and Reconcile actions on the SLX devices that enter into maintenance mode after reboot, taking those devices out of maintenance mode after successfully reconciling the configuration on them. For more information about Drift and Reconcile, see Drift and Reconcile.

You can enable maintenance mode on SLX devices without triggering Drift and Reconcile. Take the following steps.

Procedure

  1. Disable syslog.
    efa inventory device execute-cli --ip 10.18.120.187 --command "no logging syslog-server 10.18.120.140 use-vrf mgmt-vrf" --config
  2. Enable maintenance mode.
    efa inventory device setting update --maint-mode-enable Yes --ip 10.18.120.187
    The device remains in maintenance mode until you disable the mode.

    If both maint-mode-enable and maintenance-mode-enable-on-reboot are set on the device, the Drift and Reconcile action is not triggered on device reboot.

  3. Disable maintenance mode.
    1. Enable syslog.
      efa inventory device execute-cli --ip 10.18.120.187 --command "logging syslog-server 10.18.120.140 use-vrf mgmt-vrf" -–config
    2. Run Drift and Reconcile.
      efa inventory drift-reconcile execute --ip 10.18.120.187 –reconcile
      The Drift and Reconcile process takes the device out of maintenance mode.